FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER xx@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /sc-nacos

WORKDIR /sc-nacos

EXPOSE 8848

ADD ./sc-nacos/target/sc-nacos.jar ./

CMD sleep 20;java -Djava.security.egd=file:/dev/./urandom -jar sc-nacos.jar


